#ifndef SHADERAMBIENT_H
#define SHADERAMBIENT_H

#include "d3dUtil.h"
#include "Shader.h"

namespace mgfx
{
	class ShaderAmbient : public Shader
	{
	public:
		ShaderAmbient();
		virtual bool init();

		virtual void setParamsGlobal();
		virtual void setParamsModel(ModelDrawCall * drawCall);

	protected:
		ID3D10EffectMatrixVariable* mVar_gWVP;
		ID3D10EffectShaderResourceVariable* mVar_gDiffuseMap;
		ID3D10EffectVectorVariable* mVar_gDiffMat;
		ID3D10EffectVectorVariable* mVar_gAmbLight;

	};
}

#endif